package com.hyx.java.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("hyx_task")
@ApiModel("任务信息")
public class HyxTask {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("任务号")
    private Long id;
    @ApiModelProperty("车站/区间")
    private String name;
    @ApiModelProperty("测量人")
    private String testName;
    @ApiModelProperty("测量日期")
    private Date testDate;
    @ApiModelProperty("状态 0 未开始 1 已完成")
    private Integer status;

}
